aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog/[...slug].astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog/[...slug].astro')
-rw-r--r--src/pages/blog/[...slug].astro8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro
index de4efb6..8713ab5 100644
--- a/src/pages/blog/[...slug].astro
+++ b/src/pages/blog/[...slug].astro
@@ -18,6 +18,14 @@ const { Content } = await entry.render();
---
<Page title={entry.data.title} description={entry.data.description} date={formatDate(entry.data.date)}>
<main>
+ <a href="/blog" class="back-link">← All articles</a>
<Content />
</main>
</Page>
+<style>
+ main {
+ background-color: #3B513B;
+ padding: 1.2em;
+ border-radius: 20px;
+ }
+</style>